package com.yj.ccs.abs.web.common.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.yj.ccs.abs.common.enums.AttachmentType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Copyright 2018 (C) Yunjian-VC
 * Created on : 2018/3/21
 * Author     : Unbelievable9
 **/
@Data
@JsonIgnoreProperties(value = {"id", "reference_id", "category"})
public class Attachment {

    @ApiModelProperty(hidden = true)
    private Long id;

    @ApiModelProperty(hidden = true)
    private Long reference_id;

    private String url;

    private String name;

    private String type;

    @ApiModelProperty(hidden = true)
    private AttachmentType category;

    private String client_uid;
}
